﻿using B.S.Orders.Domain;
using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Read.Api.Application.Commands.OutsourcingCommand
{
    public class GetOutsourcingCommand : IRequest<APIResult<APIPaging<Outsourcing>>>
    {
        /// <summary>
        /// 关联项目
        /// </summary>
        public string? AssociatedProjects { get; set; }
        /// <summary>
        /// 单据主题
        /// </summary>
        public string? DocumentSubject { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 关联生产订单
        /// </summary>
        public string? AssociateProductionOrder { get; set; }
        /// <summary>
        /// 委外加工商
        /// </summary>
        public string? Processors { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string? PreparationDocumentsPerson { get; set; }
        /// <summary>
        /// 开始制单日期
        /// </summary>
        public DateTime? FriPreparationDocumentsDate { get; set; }
        /// <summary>
        /// 结束制单日期
        /// </summary>
        public DateTime? EndPreparationDocumentsDate { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
